package org.acme;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

@Entity
public class Movie extends JPAEntity {
	private String name;
	private float price;
	private SampleEnum sampleEnum;
	
	
	public Movie() {	}
	public Movie(String name, float price, SampleEnum sampleEnum) {
		this.name = name;
		this.price = price;
		this.sampleEnum = sampleEnum;
	}

	public SampleEnum getSampleEnum() {
		return sampleEnum;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public float getPrice() {
		return price;
	}
	
	public void setPrice(float price) {
		this.price = price;
	}
}
